
const { ref, reactive } = Vue

export default {
  name: 'home',
  template: `
    <div>
      使用 template 建立的组件<br>
      <button @click="count++">自增</button> <br>
      <el-button @click="count++" >自增</el-button> <br>
      {{ count }}
    </div>
  `,
  setup() {
    const count = ref(0)
    
    return {
      count
    }
  }
}